package com.xjoyt.pay.master.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;

import com.xjoyt.pay.master.po.MerchantChannelRate;
import com.xjoyt.pay.repository.Repository;

public interface MerchantChannelRateRepository extends Repository<MerchantChannelRate> {
	@Query(" select a from MerchantChannelRate a where a.merchantChannel.id in ?1 ")
	List<MerchantChannelRate> findAllByMerchantChannelIdIn(List<String> ids);

	List<MerchantChannelRate> findAllByMerchantChannelId(String id);
}
